package com.tl.satoken.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tl.satoken.domain.vo.GameCharacterVo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName(value = "hero")
public class Hero {
    @Id
    private Long id;

    private Long userId;

    private Long characterId;

    private String mbti;

    private String previewUrl;

    private Integer slot;

    private Integer type;

    @TableField(exist = false)
    private GameCharacterVo character;
}